/******************************************************************************
 * Copyright (C) 2016 Wuhan Water Elephant Co.Ltd All Rights Reserved. 
 * 本软件为武汉水象科技有限公司开发研制。 未经本公司正式书面同意，其他任何个人、
 * 团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package com.loanapp.server.market.provider.modular.customer.service.impl;


import com.loanapp.base.common.exception.BusinessException;
import com.loanapp.server.market.api.customer.entity.CustomerFeedback;
import com.loanapp.server.market.api.customer.query.CustomerFeedbackQuery;
import com.loanapp.server.market.provider.modular.customer.mapper.CustomerFeedbackMapper;
import com.loanapp.server.market.provider.modular.customer.service.CustomerFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CustomerFeedbackServiceImpl implements CustomerFeedbackService {

    @Autowired
    private CustomerFeedbackMapper mapper;

    @Override
    public Long Insert(CustomerFeedback customerFeedback) throws BusinessException {
        Integer rs=mapper.insert(customerFeedback);
        return rs>0?customerFeedback.getId():null;
    }

    @Override
    public boolean DeleteByPk(Long aLong) throws BusinessException {
        return false;
    }

    @Override
    public boolean Update(CustomerFeedback customerFeedback) throws BusinessException {
        return false;
    }

    @Override
    public CustomerFeedback selectByPk(Long aLong) throws BusinessException {
        return null;
    }

    @Override
    public CustomerFeedback selectByModel(CustomerFeedbackQuery customerFeedbackQuery) throws BusinessException {
        return null;
    }

    @Override
    public CustomerFeedback selectBySelf(CustomerFeedback customerFeedback) throws BusinessException {
        return null;
    }

    @Override
    public List<CustomerFeedback> selectListByModel(CustomerFeedbackQuery customerFeedbackQuery) throws BusinessException {
        return null;
    }

    @Override
    public Long selectCountByQueryMap(CustomerFeedbackQuery customerFeedbackQuery) {
        return null;
    }

    @Override
    public List<CustomerFeedback> selectPageListByQueryMap(CustomerFeedbackQuery customerFeedbackQuery) throws BusinessException {
        return null;
    }
}
